package OddsObjects.Soccer;

import java.util.Vector;

import OddsObjects.NumericOdd;
import OddsObjects.OddsTemplate;

public class Handicap extends OddsTemplate {
	
	public Handicap(Vector<NumericOdd> odds) {
		super(odds);
	}

	NumericOdd homeHandicap, awayHandicap, draw;
	Double homeHandicapAmount, awayHandicapAmount;
	
		
	@Override
	protected void initialize(Vector<NumericOdd> odds) {
		
		//TODO what are the doubles for handicap
		initHandicap( odds.get(0), odds.get(1), odds.get(2), 0.0, 0.0 );
	}
	
	void initHandicap(NumericOdd homeHandicap, NumericOdd awayHandicap, NumericOdd draw, Double homeHandicapAmount, Double awayHandicapAmount){
		this.awayHandicap = awayHandicap;
		this.homeHandicap = homeHandicap;
		this.draw = draw;
		this.homeHandicapAmount = homeHandicapAmount;
		this.awayHandicapAmount = awayHandicapAmount;
	}
	

}
